FROM anapsix/alpine-java:8_server-jre_unlimited

MAINTAINER wangiegie@gmail.com

RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

RUN mkdir -p /kw-gateway

WORKDIR /kw-gateway

EXPOSE 9999

ADD ./kw-gateway/target/kw-gateway.jar ./

CMD java -Djava.security.egd=file:/dev/./urandom -jar kw-gateway.jar
